package com.mall.user.dao;

import com.mall.entity.TbUserBankCard;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserBankCardMapper {
    void insert(TbUserBankCard userBankCard);

    TbUserBankCard findByUidAndCardId(@Param("uid") Long uid,@Param("cardId") String cardId);

    void updateMoneyByCardId(TbUserBankCard userBankCard);
}
